
import os

def get_log_path():
    rootdir = os.path.dirname(os.path.dirname(__file__))
    return os.path.join(rootdir,'logs')

def get_yaml_path(filename):
    rootdir = os.path.dirname(os.path.dirname(__file__))
    return os.path.join(rootdir,'data',filename)

if __name__ == '__main__':
    path_log = get_log_path()
    print(path_log)
    path_yaml = get_yaml_path('login.yaml')
    print(path_yaml)